package com.fcl.oschina.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/3/23.
 */

public class TweetDetailEntity {

    /**
     * appClient : 1
     * author : {"id":1428332,"name":"小小编辑","portrait":"http://static.oschina.net/uploads/user/714/1428332_50.jpg?t=1400110163000","relation":0}
     * commentCount : 67
     * content :
     * href : https://my.oschina.net/xxiaobian/tweet/12577736
     * id : 12577736
     * images : []
     * likeCount : 12
     * liked : false
     * pubDate : 2017-03-22 15:52:35
     * statistics : {"comment":67,"favCount":0,"like":12,"transmit":0,"view":0}
     */

    private int appClient;
    private AuthorBean author;
    private int commentCount;
    private String content;
    private String href;
    private int id;
    private int likeCount;
    private boolean liked;
    private String pubDate;
    private StatisticsBean statistics;
    private List<ImageEntity> images;

    public int getAppClient() {
        return appClient;
    }

    public void setAppClient(int appClient) {
        this.appClient = appClient;
    }

    public AuthorBean getAuthor() {
        return author;
    }

    public void setAuthor(AuthorBean author) {
        this.author = author;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public boolean isLiked() {
        return liked;
    }

    public void setLiked(boolean liked) {
        this.liked = liked;
    }

    public String getPubDate() {
        return pubDate;
    }

    public void setPubDate(String pubDate) {
        this.pubDate = pubDate;
    }

    public StatisticsBean getStatistics() {
        return statistics;
    }

    public void setStatistics(StatisticsBean statistics) {
        this.statistics = statistics;
    }

    public List<ImageEntity> getImages() {
        return images;
    }

    public void setImages(List<ImageEntity> images) {
        this.images = images;
    }

    public static class AuthorBean {
        /**
         * id : 1428332
         * name : 小小编辑
         * portrait : http://static.oschina.net/uploads/user/714/1428332_50.jpg?t=1400110163000
         * relation : 0
         */

        private int id;
        private String name;
        private String portrait;
        private int relation;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPortrait() {
            return portrait;
        }

        public void setPortrait(String portrait) {
            this.portrait = portrait;
        }

        public int getRelation() {
            return relation;
        }

        public void setRelation(int relation) {
            this.relation = relation;
        }
    }

    public static class StatisticsBean {
        /**
         * comment : 67
         * favCount : 0
         * like : 12
         * transmit : 0
         * view : 0
         */

        private int comment;
        private int favCount;
        private int like;
        private int transmit;
        private int view;

        public int getComment() {
            return comment;
        }

        public void setComment(int comment) {
            this.comment = comment;
        }

        public int getFavCount() {
            return favCount;
        }

        public void setFavCount(int favCount) {
            this.favCount = favCount;
        }

        public int getLike() {
            return like;
        }

        public void setLike(int like) {
            this.like = like;
        }

        public int getTransmit() {
            return transmit;
        }

        public void setTransmit(int transmit) {
            this.transmit = transmit;
        }

        public int getView() {
            return view;
        }

        public void setView(int view) {
            this.view = view;
        }
    }
}
